package com.zb.kc.statistics.client;

import com.zb.kc.commonutils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "service-ucenter")
public interface UcenterClient {

    // 查询某一天的注册人数
    @ApiOperation(value = "查询某一天的注册人数")
    @GetMapping("/eduucenter/member/countRegister/{day}")
    public R countRegister(@PathVariable("day") String day);

}
